/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Daniel,Alejandro,Jairo
 */
public class Directivo extends Persona {

    private String cargo;

    public Directivo(String nombre, String apellidos, int edad, double peso, double altura, String cargo) {
        super(nombre, apellidos, edad, peso, altura);
        this.cargo = cargo;
    }

    public String getCargo() {
        return this.cargo;
    }

    public void setCargo(String cargo) {
        this.cargo = cargo;
    }

    @Override
    public boolean equals(Object obj) {
        return (super.equals(obj));
    }

    @Override
    public String toString() {
        return "Directivo{" + "cargo=" + cargo + '}';
    }

}
